package com.Object;

public class AccountTest {
    public static void main(String[] args) {
        // 测试不合法输入
        System.out.println("测试不合法输入：");
        Account account1 = new Account("Smith", 15, "111111");
        account1.showInfo("123456"); // 正确密码查看

        System.out.println("-------------------");
        //测试合法输入
        System.out.println("测试合法输入");
       Account account = new Account("jack",40,"123456");
       account.showInfo("123456");
       System.out.println("===================");

    }
}
